Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional dnsPolicy, dnsConfig to all pods #201

Merged
merged 2 commits into from
Jul 6, 2021

Conversation

cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented Jun 19, 2021

Adds dnsPolicy and dnsConfig to all pods based on .Values.dnsPolicy and .Values.dnsConfig if defined.

I do not think having different dnsConfig/dnsPolicy per pod makes much sense, so this is provides only one common value for all the pods defined by stackstorm-ha, not one-per-pod like other settings.

dnsPolicy: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy
dnsConfig: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-dns-config

@pull-request-size pull-request-size bot added the size/L PR that changes 100-499 lines. Requires some effort to review. label Jun 19, 2021
@cognifloyd cognifloyd requested a review from arm4b June 19, 2021 18:09
@cognifloyd
Copy link
Member Author

rebased on master

@cognifloyd cognifloyd force-pushed the internal-dns branch 5 times, most recently from d086c1e to e37daf9 Compare July 3, 2021 16:50
@cognifloyd cognifloyd added the K8s label Jul 3, 2021
@cognifloyd cognifloyd force-pushed the internal-dns branch 2 times, most recently from c250d7b to 5dc5e40 Compare July 5, 2021 16:10
@cognifloyd
Copy link
Member Author

cognifloyd commented Jul 5, 2021

@armab This is straight forward as well and should be quick to review.
It adds dnsPolicy and dnsConfig to all pods (based on .Values.dnsPolicy and .Values.dnsConfig if defined). It only adds lines; it does not change any existing lines.

Thanks again for all your reviews.

Copy link
Member

@arm4b arm4b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Agree about making this setting common for all the Pods

@arm4b arm4b merged commit d2691ee into StackStorm:master Jul 6, 2021
@cognifloyd cognifloyd removed the RFR label Jul 10, 2021
@cognifloyd cognifloyd deleted the internal-dns branch November 11, 2021 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature K8s size/L PR that changes 100-499 lines. Requires some effort to review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants